package cn.com.code.design.rpc.config.rule.service;

import cn.com.code.design.application.MallRuleService;
import cn.com.code.design.rpc.config.rule.model.vo.DecisionMatter;
import cn.com.code.design.rpc.config.rule.model.vo.EngineResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * 规则树服务；提供规则规律功能
 * <p>
 * 1、rule包下只进行规则决策领域的处理
 * 2、封装决策行为到领域模型中，外部只需要调用和处理结果即可
 * 3、可以扩展不同的决策引擎进行统一管理
 *
 * @author zhengpei
 * @date 2021/11/5
 */
@Service("mallRuleService")
public class MallRuleServiceImpl implements MallRuleService {

  private Logger logger = LoggerFactory.getLogger(MallRuleServiceImpl.class);

  @Override
  public EngineResult process(DecisionMatter matter) {
    return null;
  }

}
